home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm3_4_3
- Caption = "3-4-3"
- ClientHeight = 1215
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 3975
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1215
- ScaleWidth = 3975
- Begin VB.CommandButton cmdCompute
- Caption = "Compute Balance"
- Default = -1 'True
- Height = 495
- Left = 960
- TabIndex = 1
- Top = 600
- Width = 2055
- End
- Begin VB.PictureBox picBalance
- Height = 375
- Left = 120
- ScaleHeight = 315
- ScaleWidth = 3675
- TabIndex = 0
- Top = 120
- Width = 3735
- End
- Attribute VB_Name = "frm3_4_3"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdCompute_Click()
- picBalance.Cls
- interestRate = 0.0655
- principal = 100
- phrase = "The balance after a year is"
- picBalance.Print phrase; (1 + interestRate) * principal
- End Sub
-